package com.waterdrop.wlsggk.mapper;

import com.waterdrop.wlsggk.pojo.MaterialRemainingLog;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 分仓库剩余量日志 Mapper接口
 */
@Component
public interface MaterialRemainingLogMapper {

    /**
     * 新增分仓库剩余量日志
     *
     * @return
     */

    public int insertWlsggkMaterialRemainingLog(MaterialRemainingLog materialRemainingLog);

    /**
     * 分仓库剩余量日志列表查询
     *
     * @return
     */
    public List<MaterialRemainingLog> selectMaterialRemainingLogList(MaterialRemainingLog materialRemainingLog, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);

    /**
     * 删除分仓库剩余量日志信息
     *
     * @param ids 分仓库剩余量日志id
     * @return
     */
    public int deleteWlsggkMaterialRemainingLogByIds(Long[] ids);


}



